package com.baiyun.bs.repository;


//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baiyun.bs.domain.Notice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface NoticeMapper extends BaseMapper<Notice> {


//    IPage<Notice> selectPage(IPage<Notice> noticeIPage, QueryWrapper<Notice> wrapper);

    List<Notice> selectOne(Notice notice);

    void insertNotice(Notice notice);


    void deleteNotice(Long nId);

    void updateNotice(Notice notice);

    Notice selectNoticeById(Long nId);
}
